﻿using web_api_demo101.Entities;

namespace web_api_demo101.Repositories
{
    public class DbContext
    {
        // 模拟用户表
        public static List<User> Users = new List<User>()
        {
            new User(){Id = 1001, Email = "zhangsan@qq.com", Password = "zs1234", UserName = "张三", RegTime = DateTime.Now, LastLoginTime = DateTime.Now, Status = true},
            new User(){Id = 1002, Email = "lisi@qq.com", Password = "ls1234", UserName = "李四", RegTime = DateTime.Now, LastLoginTime = DateTime.Now, Status = false},
            new User(){Id = 1003, Email = "wangwu@qq.com", Password = "ww1234", UserName = "王五", RegTime = DateTime.Now, LastLoginTime = DateTime.Now, Status = true},
        };
    }
}
